package com.ruoyi.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产计划下达明细对象 prog_plan_detail
 *
 * @author LongAndHao
 * @date 2023-05-09
 */
public class ProgPlanDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 生产计划id */
    @Excel(name = "生产计划id")
    private Long progId;
    /** 产线id */
    @Excel(name = "产线id")
    private Long lineId;
    /** 产线名字 */
    @Excel(name = "产线名字")
    private String lineName;

    /** 下达数量 */
    @Excel(name = "下达数量")
    private Long releaseQuantity;

    /** 状态 状态 0 - 已关闭 1 - 已下达 */
    private Long status;

    /** 开始日期 */
    @JsonFormat(pattern = " yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始日期", width = 30, dateFormat = " yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束日期 */
    @JsonFormat(pattern = " yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束日期", width = 30, dateFormat = " yyyy-MM-dd HH:mm:ss")
    private Date overTime;
    /** 预计结束日期 */
    @JsonFormat(pattern = " yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计结束日期", width = 30, dateFormat = " yyyy-MM-dd HH:mm:ss")
    private Date dateTime;

    /** 开始日期 */
    @JsonFormat(pattern = " yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始日期", width = 30, dateFormat = " yyyy-MM-dd HH:mm:ss")
    private Date realStartTime;

    public Date getRealStartTime() {
        return realStartTime;
    }

    public void setRealStartTime(Date realStartTime) {
        this.realStartTime = realStartTime;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getId()
    {
        return id;
    }
    public void setProgId(Long progId)
    {
        this.progId = progId;
    }

    public Long getProgId()
    {
        return progId;
    }
    public void setReleaseQuantity(Long releaseQuantity)
    {
        this.releaseQuantity = releaseQuantity;
    }

    public Long getReleaseQuantity()
    {
        return releaseQuantity;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setOverTime(Date overTime)
    {
        this.overTime = overTime;
    }

    public Date getOverTime()
    {
        return overTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("progId", getProgId())
            .append("releaseQuantity", getReleaseQuantity())
            .append("createTime", getCreateTime())
            .append("startTime", getStartTime())
            .append("overTime", getOverTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
